
package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

/**
 * <code>VideoPromoteTbl.java</code>
 * <p>
 *
 * </p>
 * <p>
 *
 * @author LuChen
 * @version 1.0
 * @company Amigo
 * @time 2018年12月11日 上午10:16:58
 * @lastUpdate 无
 * </p>
 */

@Table(name = "video_promote_tbl")
@Alias(value = "videoPromoteTbl")
public class VideoPromoteTbl {

    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "video_id")
    private Long videoId;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "promoteWeight")
    private Double promote_weight;

    @Column(name = "sex")
    private String sex;

    @Column(name = "ageRange")
    private String age_range;

    @Column(name = "areaIds")
    private String area_ids;

    @Column(name = "areaName")
    private String area_name;

    @Column(name = "expectedPlayAmount")
    private Integer expected_play_amount;

    @Column(name = "playAmount")
    private Integer play_amount;    //实际播放量

    @Column(name = "money")
    private Integer money;//投放金额

    @Column(name = "actualMoney")
    private Integer actual_money;//实际付款金额

    @Column(name = "balance")
    private Integer balance;//视频剩余金额

    @Column(name = "status")
    private Integer status;    //1-投放中   2-已结束    3-支付失败

    @Column(name = "type")
    private Integer type;//1-系统智能投放    2-自定义定向投放

    @Column(name = "orderId")
    private Long order_id;//订单Id

    @Column(name = "orderNum")
    private String order_num;//订单号

    @Column(name = "endTime")
    private Long end_time;//结束时间

    @Transient
    private Integer pageNo;

    @Transient
    private Integer pageCount;

    @Transient
    private String orderBy;

    @Transient
    private Integer sequence;

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Double getPromote_weight() {
        return promote_weight;
    }

    public void setPromote_weight(Double promote_weight) {
        this.promote_weight = promote_weight;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge_range() {
        return age_range;
    }

    public void setAge_range(String age_range) {
        this.age_range = age_range;
    }

    public String getArea_ids() {
        return area_ids;
    }

    public void setArea_ids(String area_ids) {
        this.area_ids = area_ids;
    }

    public String getArea_name() {
        return area_name;
    }

    public void setArea_name(String area_name) {
        this.area_name = area_name;
    }

    public Integer getExpected_play_amount() {
        return expected_play_amount;
    }

    public void setExpected_play_amount(Integer expected_play_amount) {
        this.expected_play_amount = expected_play_amount;
    }

    public Integer getPlay_amount() {
        return play_amount;
    }

    public void setPlay_amount(Integer play_amount) {
        this.play_amount = play_amount;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getActual_money() {
        return actual_money;
    }

    public void setActual_money(Integer actual_money) {
        this.actual_money = actual_money;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Long order_id) {
        this.order_id = order_id;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public Long getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Long end_time) {
        this.end_time = end_time;
    }

}

